<!doctype html>
<html>

<head>
    <title>Socket.IO chat</title>
    <link rel="stylesheet" href="css/bootstrap.min.css" />
    <script src="js/jquery-1.11.3.js"></script>
    <script src="https://cdn.bootcss.com/socket.io/2.1.0/socket.io.js"></script>
    <script src="js/login.js"></script>
</head>

<body>
    <div class="container">

        <form class="form-horizontal" role="form" id="form" onsubmit="login()">
            <div class="col-sm-12">
                <div class="row">
                    <div class="col-sm-4 center-block" style="float:none">
                        <h2 class="text-center" style="margin-bottom: 50px">
                            登陆聊天室
                        </h2>
                        <div class="row">
                            <div class="form-group">
                                <label class="control-label col-sm-3" for="userName">用户名:</label>
                                <div class="col-sm-9">
                                    <input type="text" class="form-control" id="userName" name="userName" placeholder="输入用户名">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="control-label col-sm-3" for="pwd">密码:</label>
                                <div class="col-sm-9">
                                    <input type="password" class="form-control" id="pwd" name="pwd" placeholder="输入密码">
                                </div>
                            </div>
                        </div>

                        <div><a class="pull-right">找回密码</a></div>
                        <div class="form-group">
                            <div class="col-sm-offset-2 col-sm-10">
                                <button type="button" name="submit" class="btn btn-default">登&nbsp;&nbsp;陆</button>
                                <button type="button" class="btn btn-default"><a href="/users/reg">注&nbsp;&nbsp;册</a></button>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
    </div>

    </form>
    </div>


</body>

</html>
<!--  -->